package com.hk.service;

import com.hk.core.PageResult;
import com.hk.core.roleResult.PageRoleResult;
import com.hk.domain.Clue;
import com.hk.domain.Report;
import com.hk.dto.*;
import com.hk.vo.ClueagsVo;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Map;

public interface ClueService {
    void add(ClueDto dto);

    PageResult list(CluePageDto dto);


    Report getReport(LocalDate beginTime, LocalDate endTime);

    PageRoleResult listReport(ClueBusinContractDto clueBusinContractDto);

    ClueagsVo Tjclus(LocalDateTime beginTime, LocalDateTime endTime);

    public Map<String, Long> selectCount();
    public void pull(PullDto dto);

    public PageResult listPoll(CluePageDto dto);

    public int push(Integer id);

    public void changeBusiness(Integer id);

    public PageResult listClueHistory(Integer clueId);
    public void updateClue(ClueUpdateDto dto);
    public Clue queryById(Integer id);
}
